
<style scoped lang="scss">
.leave_main {
    width: 98%;
    margin: auto;
    background-color: #fff;
    padding: 40px;

    h5 {
        line-height: 80px;
    }
}
</style>
<template>
    <div class="leave_main">
        <div class="leave_count">
            <h5>学生请假设置</h5>
            <el-form :model="form" label-width="160px" style="font-size: 12px;">
                <el-form-item label="家长代请假审批人：">
                    <el-radio-group v-model="form">
                        <el-radio label="仅班主任" />
                        <el-radio label="默认班主任，可选其它老师" />
                    </el-radio-group>
                </el-form-item>
                <el-form-item label="学生发起请假审批人：">
                    <el-radio-group v-model="form">
                        <el-radio label="仅班主任" />
                        <el-radio label="默认班主任，可选其它老师" />
                    </el-radio-group>
                </el-form-item>
                <el-form-item label="审批通过通知:">
                    <el-checkbox-group v-model="form">
                        <el-checkbox label="班主任" name="type" />
                        <el-checkbox label="任课老师" name="type" />
                        <el-checkbox label="行政主任" name="type" />
                    </el-checkbox-group>
                </el-form-item>
                <el-form-item label="请假需要家长确认:">
                    <el-checkbox-group v-model="form">
                        <el-checkbox label="开启" name="type" />
                    </el-checkbox-group>
                </el-form-item>
                <p style="font-size: 12px;color: #888; line-height: 20px; margin-left: 100px;">
                    勾选开启后，学生本人请假,老师代请假都需要经过家长确认
                </p>
                <el-form-item>
                    <el-button type="primary" @click="onSubmit" size="small">保存</el-button>
                </el-form-item>
            </el-form>
        </div>
    </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
var form = ref('')
const onSubmit = () => {

}
</script>